﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Smrf.NodeXL.GraphDataProviders.MediaWiki;
using System.IO;

namespace WikiImporterTest
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Smrf.NodeXL.GraphDataProviders.MediaWiki.MediaWikiGraphDataProvider wiki = new MediaWikiGraphDataProvider();
            string graph;
            wiki.TryGetGraphData(out graph);
            StreamWriter wr = new StreamWriter(@"D:\test.txt");
            wr.Write(graph);
            wr.Close();
        }
    }
}
